body {
    display: flex;
    flex-direction: column;
    background-color: #f6f6f6;
    /* background-color: #fa9e9d; */
    /* background-color: #d84846; */
}

/* 轮播图 */
html,
body {
    position: relative;
    height: 100%;
}

body {
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #000;
    margin: 0;
    padding: 0;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/* 主体 */
main {
    height: 1px;
    flex-grow: 1;
    overflow-y: auto;
}

/* 头部 */
header {
    height: 56px;
    background-color: pink;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #845d32;
}

/* 轮播图 */
.banner {
    height: 160px;
}

header .logo {
    width: 36px;
    height: 28px;
}

header .search {
    width: 300px;
    height: 100%;
    background-color: #f0f0f0;
    border-radius: 20px;
    display: flex;
    align-items: center;
    padding-left: 10px;
}

.icon-sear {
    color: #c3c0c0;
}

header input {
    padding-left: 15px;
}

header input::placeholder {
    color: #b5b5b5;
}

.main-show {
    padding: 12px;
    display: flex;
    flex-wrap: wrap;
}

.show-item {
    width: 20%;
    margin-top: 10px;
}

.show-rank {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #525662;
    font-size: 12px;
}

.show-rank img {
    width: 2rem;
}

.show-rank span {
    line-height: 2;
}

/* 众筹区 */
.crowd {
    margin: 0 12px;
    background-color: #fff;
    padding: 15px 10px;
    border-radius: 10px;
}

.crowd-hd {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.crowd-hd .title {
    font-size: 18px;
}

.crowd-hd .title span {
    display: inline-block;
    width: 52px;
    height: 17px;
    text-align: center;
    color: #fff;
    border-radius: 3px;
    font-size: 12px;
    background-color: #cd8c39;
}

.crowd-hd .ing {
    color: #999999;
    font-size: 14px;
}

.crowd-bd {
    margin-top: 10px;
    display: flex;
}

.crowd-bd .left {
    padding: 10px 5px;
    width: 50%;
    border-radius: 7px;
    background-color: #fffaf2;
    border-bottom: 3px solid #ebc28a;
}

.left .left-top {
    display: flex;
}

.left-top img {
    margin-left: 5px;
    display: flex;
    width: 76px;
    height: 76px;
    opacity: 1;
    border-radius: 0px;
    object-fit: contain;
}

.left-top .desc .num {
    color: #d08d35;
    font-weight: bold;
    margin-top: 10px;
    display: flex;
}

.left-fd {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    line-height: 1.5;
}

.left-fd .red {
    color: #ff1b1b;
}


.crowd-bd .right {
    width: 50%;
    display: flex;
    justify-content: space-between;
    margin-left: 8px;
    background-color: #fff;
}

.crowd-bd .right .left {
    background-color: #fff;
    border: 0;
}

.crowd-bd .right img {
    display: flex;
    width: 75px;
    height: 75px;
    opacity: 1;
    border-radius: 0px;
    object-fit: contain;
}

.right .fd {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.right .fd p {
    font-size: 12px;
    margin-top: 5px;
}

.right .fd span {
    line-height: 1.5;
    color: #d08d35;
    font-weight: bold;
}

.display {
    padding: 12px;
    padding-bottom: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

}

.display-item {
    width: 32%;
    /* background-color: pink; */
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
    color: #fff;
    border: 2px solid #46c4b5;
    border-radius: 5px;
}

.display-item img {
    display: flex;
    width: 93px;
    height: 80px;
    opacity: 1;
    border-radius: 2px 2px 0px 0px;
    object-fit: cover;
}

.display-item p {
    font-size: 14px;
    line-height: 1.5;
}

.display-item span {
    font-size: 12px;
}

.display-item-fd {
    padding-top: 10px;
    font-size: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background-color: #46c4b5;
    line-height: 1.5;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

.display-item:nth-child(2) {
    border: 2px solid #fba655;
}

.two {
    background-color: #fba655;
}

.display-item:nth-child(3) {
    border: 2px solid #6a97d4;
}

.three {
    background-color: #6a97d4;
}

.display-item:nth-child(4) {
    border: 2px solid #ab7dbf;
}

.four {
    background-color: #ab7dbf;
}

.display-item:nth-child(5) {
    border: 2px solid #68bd73;
}

.five {
    background-color: #68bd73;
}

.display-item:nth-child(6) {
    border: 2px solid #ee7171;
}

.six {
    background-color: #ee7171;
}

/* 微淘众筹 */
.con {
    margin: 12px;
    padding: 15px 10px;
    background-color: #fff;
    border-radius: 10px;
}

.con-hd {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.con-hd p {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.5;
}

.con-hd span {
    font-size: 12px;
    color: #b5b5b5;
}

/* 第二部分 */
.con-bd-main {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.con-bd-main .left {
    width: 60%;
    display: flex;
    flex-direction: column;
}

.con-bd-main .left p {
    line-height: 2;
}

.con-bd-main .desc {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 2;
    background-color: #fcf5df;
}

.con-bd-main .red {
    display: inline-block;
    margin-top: 15px;
    margin-bottom: 20px;
    color: #fe514a;
}

.con-bd-main .right {
    width: 35%;
    margin-left: 15px;
}

.con-bd-fd {
    font-size: 12px;
}

.con-bd-fd .hot {
    display: inline-block;
    padding: 0 2px;
    background-color: #fecf00;
    color: #fff;
    margin-right: 4px;
    border-radius: 4px;
}

.con-bd-fd .orange {
    color: #ef9462;
}

.con-bd-fd .line {
    width: 100%;
    height: 4px;
    margin-top: 2px;
    background: linear-gradient(to right, #ffc96d, #ff5c1e);
    border-radius: 4px;
}

/* 第三部分 */
.con-fd {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.con-fd .left {
    width: 49%;
    margin-right: 2%;
}

.con-fd .left .red,
.con-fd .right .red {
    color: #fe514a;
    line-height: 2;
}

.con-fd .left .cont,
.con-fd .right .cont {

    display: flex;
    justify-content: right;
}

.con-fd .left .cont img,
.con-fd .right .cont img {
    width: 90px;
    height: 90px;

}

.con-fd .right {
    width: 49%;
}

.right .hot {
    background-color: #f98700;
}

/* 好物榜 */
.good-bd {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.goods-item {
    position: relative;
    width: 32%;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
    background-color: #f7f7f7;
    border-radius: 10px;
    overflow: hidden;
}

.goods-item .img {
    width: 70%;
}

.goods-item .box {
    position: relative;
    padding-top: 10px;
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: #b27b33;
    background-color: #fdd07f;
}

.goods-item .box .bang {
    position: absolute;
    top: -10px;
    left: 30px;
    padding: 0 5px;
    border-radius: 7px;
    background-color: #fff;
    border: 1px solid #d1a660;
}

.goods-item:nth-child(2) {
    position: relative;
    border: 4px solid #cf8e44;
}

.goods-item:nth-child(2) .title {
    position: absolute;
    font-size: 12px;
    color: #fff;
    width: 100%;
    text-align: center;
    background-color: #cf8e44;
}

.goods-item:nth-child(2) .box {
    color: #fff;
    background-color: #cf8e44;
}


/* 热销榜 */
.hot .goods-item .box {
    background-color: #fcdfb1;
    color: #946123;
    height: 55px;
    padding-top: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.hot .goods-item .box p:first-child {
    background-color: #ff5a1b;
    color: #fff;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    padding-left: 5px;
}

.hot .goods-item {
    border: 0;
    border-radius: 0;
}

.goods-item .logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background-color: #f6d89f;
    color: #ff1b1b;
    text-align: center;
    line-height: 20px;
}

.goods-item .logo .tanr {
    border: 10px solid transparent;
    border-top-color: #f6d89f;
    font-size: 0;
}


/* 限时购 */

.limit .goods-item p {
    margin-top: 5px;
    font-size: 12px;
    font-weight: bold;
    /* padding-left: 10px; */
}

.limit .goods-item p .red {
    color: #fe3736;
}

.limit .goods-item p .del {
    color: #a1a1a1;
}

.limit .goods-item {
    background-color: #fff;
}

.limit .img {
    width: 100%;
}

/* 各种品牌特卖 */
.special {
    display: flex;
    justify-content: center;
}

.special-item {
    flex: 25%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.special-item .title {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.5;
}

.special-item span {
    font-size: 12px;
    color: #d7a661;
    margin-bottom: 10px;
}

/* 推荐 */
.recommend-hd {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    margin-top: 20px;
}

.recommend-hd .img {
    width: 18px;
    height: 18px;
}

.recommend-hd span {
    padding: 0 10px;
}

/* 主体 */
.recommend-bd {
    padding: 12px;
    display: flex;
    flex-wrap: wrap;
}

.recommend-item {
    width: 48%;
    margin-right: 14px;
    margin-bottom: 14px;
    border-radius: 5px;
    overflow: hidden;
    background-color: #fff;
    display: flex;
    flex-direction: column;

}

.recommend-item:nth-child(2n) {
    margin-right: 0;
}

.recommend-item p {
    line-height: 2;
}

.recommend-item .desc {
    padding: 0 5px 15px 5px;
}

.recommend-item .desc p:nth-child(1) {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recommend-item .desc p:nth-child(2) {
    font-size: 12px;
    color: #999999;
}

.recommend-item span {
    font-size: 14px;
    color: #e31414;
    font-weight: bold;
}


























/* 尾部 */
footer {
    height: 60px;
    background-color: #fff;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

footer a {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    color: #8c8c8c;
}

footer .iconfont {
    font-size: 24px;
}

footer .desc {
    font-size: 12px;
    line-height: 22px;
}

.current {
    color: #e3b95c;
}